<template>
  <div>
    <uni-section title="设置中心" type="line">
      <uni-group mode="card">
		  <navigator url="/subpkg_set/invitation/invitation">
			  <view class="none">
			    <view> 邀请用户 </view>
			    <uni-icons type="personadd-filled" size="30"></uni-icons>
			  </view>
		  </navigator>
        <view class="none">
          <view @click="quit"> 退出账号 </view>
          <uni-icons type="info" size="30"></uni-icons>
        </view>
      </uni-group>
    </uni-section>
  </div>
</template>

<script >
export default {
  data() {
   
  },
  methods: {
    quit() {
      
      uni.navigateTo({ url: '/pages/login/index' 
    }).catch((error) => {
          console.error("跳转失败:", error);
        });
    },
  },
};
</script>

<style lang="scss" scoped>
.none{
	display: flex;
	align-items: center;
    justify-content: space-between;
	border-bottom: 1px solid #999999;
	margin-bottom: 10px;
}
</style>
